home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / Pascal / Snippets / DeepMaskBlitting / Test results < prev   
Text File  |  1997-04-03  |  1KB  |  40 lines

  1. My test results:
  2.  
  3. Small = 50x50 pixel sprite.
  4. Medium = 100x100 pixel sprite.
  5. Large = 300x300 pixel sprite.
  6.  
  7. Numbers are frames/second.
  8.  
  9. 6100/60 (60 MHz PPC 601), native:
  10.  
  11. Method                   Small    Medium    Large
  12. Custom "deep" blitter    948   238    34
  13. CopyMask with 8-bit mask 64    18     2
  14. CopyMask with 1-bit mask 460   191    40
  15. CopyBits with region     444   212    46
  16. CopyBits with rect only  577   234    50
  17.  
  18. Performa 630 (33 MHz 68LC040):
  19.  
  20. Method                   Small    Medium    Large
  21. Custom "deep" blitter    548   152    20                    (CodeWarrior)
  22. Custom "deep" blitter    698   193    24                    (Think)
  23. CopyMask with 8-bit mask 55    15     1
  24. CopyMask with 1-bit mask 292   104    15
  25. CopyBits with region     478   203    35
  26. CopyBits with rect only  619   234    38
  27.  
  28. The conclusion is the usual: You don't easily beat CopyBits
  29. on large areas. You can do it, by a little, but the only case
  30. I know where the difference is worth the trouble is 68040-only
  31. code using the MOVE16 assembly instruction. For small areas,
  32. however, you can gain a lot with custom blitters!
  33.  
  34. On the 68k side, I tested with both the Think and CW versions.
  35. For the custom blitter, there was a difference, while they gave
  36. the same speed for all the QuickDraw-based methods. This is one
  37. more reason why Think remains my 68k compiler of choice.
  38.  
  39. /Ingemar
  40.